package org.springframework.prospring.ticket.domain.location;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Created by IntelliJ IDEA.
 * User: Adm
 * Date: 16/07/2006
 * Time: 11:12:09
 * To change this template use File | Settings | File Templates.
 */

//esta Anotario se usa para que el controler guarde en parametro en el response con ese nombre y depues JSON lo puede tomar

@XStreamAlias("Region")
public class Region {
    Long id;
    String businessPK;
    String name;


    public Region() {
    }

    public Region(Long id, String businessPK, String name) {
        this.id = id;
        this.businessPK = businessPK;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBusinessPK() {
        return businessPK;
    }

    public void setBusinessPK(String businessPK) {
        this.businessPK = businessPK;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
